\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}
% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc,backgrounds}

% 额外添加
\usepackage{indentfirst}
\usepackage{diagbox} 
\usepackage{ulem}
\usepackage{cancel}

\begin{document} 
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0,fill=white}]
		\node(main)[anchor=east, fill=white] at (-0.3em,0em){词法分析};
		\draw[decorate,decoration={brace,mirror}] ([xshift=0.3em,yshift=6em]main.east) -- ([xshift=0.3em,yshift=-6em]main.east);
		\node(1-1)[anchor=west, fill=white] at ([xshift=0.6em,yshift=6em]main.east){处理对象：用户书写的源程序};
		\node(1-2)[anchor=west, align=left, fill=white] at ([xshift=0.6em,yshift=3.5em]main.east){目标：识别出源程序中的单词，并转换成\\\phantom 目\phantom  标\phantom  ：机内表示(Token)};
		\node(1-3)[anchor=west, fill=white] at ([xshift=0.6em,yshift=-1.5em]main.east){分析内容};
		\node(1-4)[anchor=west, fill=white] at ([xshift=0.6em,yshift=-6em]main.east){两个实例};
		
		
		\draw[decorate,decoration={brace,mirror}] ([xshift=0.3em,yshift=1.5em]1-3.east) -- ([xshift=0.3em,yshift=-1.5em]1-3.east);
		\node(1-3-1)[anchor=west, fill=white] at ([xshift=0.6em,yshift=1.5em]1-3.east){语法};
		\node(1-3-2)[anchor=west, fill=white] at ([xshift=0.6em,yshift=-1.5em]1-3.east){语义：生成单词的机内表示（语义动作）};
		\draw[decorate,decoration={brace,mirror}] ([xshift=0.3em,yshift=1em]1-3-1.east) -- ([xshift=0.3em,yshift=-1em]1-3-1.east);
		\node(1-3-1-1)[anchor=west, fill=white] at ([xshift=0.6em,yshift=1em]1-3-1.east){单词构造规则（用正规语言描述）};
		\node(1-3-1-1)[anchor=west, fill=white] at ([xshift=0.6em,yshift=-1em]1-3-1.east){识别单词（自动机）};
		\draw[decorate,decoration={brace,mirror}] ([xshift=0.3em,yshift=1em]1-4.east) -- ([xshift=0.3em,yshift=-1em]1-4.east);
		\node(1-4-1)[anchor=west, fill=white] at ([xshift=0.6em,yshift=1em]1-4.east){简单扫描器（识别四类单词并转换成机内表示）};
		\node(1-4-2)[anchor=west, fill=white] at ([xshift=0.6em,yshift=-1em]1-4.east){常数处理机（识别实常数并转换成机内表示）};
	\end{tikzpicture}
\end{document}
